package com.gitee.empty_null.authorization.converter;

import org.springframework.security.web.authentication.AuthenticationConverter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author xuhainan
 * @date 2024/1/16 13:50
 * @region hefei
 */
public class OAuth2AuthenticationConverterManager {

    private OAuth2AuthenticationConverterManager() {
    }

    public static List<AuthenticationConverter> createAuthenticationConverters() {
        List<AuthenticationConverter> authenticationConverters = new ArrayList<>();
        authenticationConverters.add(new OAuth2UsernamePasswordAuthenticationConverter());
        return authenticationConverters;
    }
}
